package com.briup.ch03;

import java.util.Scanner;

public class Test02 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入第一个数字：");
        int num1=scanner.nextInt();
        System.out.println("请输入第二个数字：");
        int num2=scanner.nextInt();
        if(num1>num2)
        {
            System.out.println("num1大");
        }
        else if(num1==num2)
        {
            System.out.println("num1等于num2");
        }
        else
        {
            System.out.println("num2大");
        }
    }
}
